﻿package com.videointeractive.conf
{
	import com.videointeractive.vo.ElementGraphicVO;
	
	public class VideoDesignConf
	{
		public static const PICTO_VALUE					: Number 		= 24;
		public static const PADDING_VIDEO_TO_PICTO_X	: Number		= 10;
		public static const PADDING_VIDEO_TO_PICTO_Y	: Number		= 2;
		
		public static const DESIGN						: ElementGraphicVO = new ElementGraphicVO( 
																			  	"assets/background.jpg",
																				1024,
																				768,
																				0,
																				0
																			  );
		
		public static const PADDING_VIDEO_TO_TRACKBAR_Y	: Number		= 10;
		public static const PADDING_TRACKBAR_TO_BUTTON_Y: Number		= PADDING_VIDEO_TO_TRACKBAR_Y + 10;
		
		public static const VIDEO_POSITION_ADJUSTING	: Number		= 50; // this is a workaround to set the trackbar position relative to the video position // DEPRECATED : useless
		
		public static const VIDEO_DEFAULT_WIDTH			: Number 		= 320;
		public static const VIDEO_DEFAULT_HEIGHT		: Number 		= 261;
		public static const VIDEO_DEFAULT_POSITION_X	: Number		= 352;
		public static const VIDEO_DEFAULT_POSITION_Y	: Number		= 142;
		
		public static const TRACKBAR_MAX_WIDTH			: Number		= 320;
		public static const TRACKBAR_DEFAULT_HEIGHT		: Number 		= 10;
		public static const TRACKBAR_DEFAULT_POSITION_X	: Number		= VIDEO_DEFAULT_POSITION_X;
		public static const TRACKBAR_DEFAULT_POSITION_Y	: Number		= VIDEO_DEFAULT_POSITION_Y + VIDEO_DEFAULT_HEIGHT + PADDING_VIDEO_TO_TRACKBAR_Y ;
		
		public static const BUTTON_DEFAULT_POSITION_X	: Number		= TRACKBAR_DEFAULT_POSITION_X;
		public static const BUTTON_DEFAULT_POSITION_Y	: Number		= TRACKBAR_DEFAULT_POSITION_Y + PADDING_TRACKBAR_TO_BUTTON_Y;
		
		public static const FADE_EFFECT_DURATION		: Number		= 1;
		
		public static const INSTRUCTION_RECT_X			: Number		= 190;
		public static const INSTRUCTION_RECT_Y			: Number		= 90;
		public static const INSTRUCTION_RECT_WIDTH		: Number		= 390;
		public static const INSTRUCTION_RECT_HEIGHT		: Number		= 30;
		public static const INSTRUCTION_RECT_ELLIPSE	: Number		= 10;
		
		public static const INSTRUCTION_TEXT_X			: Number		= 200;
		public static const INSTRUCTION_TEXT_Y			: Number		= 95;
		
		public static const POSITION_TEXT_X				: Number		= 790;
		public static const POSITION_TEXT_Y				: Number		= 500;
	}
}